package cn.iocoder.an.module.mold.controller.admin.storage.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 模具储位新增/修改 Request VO")
@Data
public class StorageSaveReqVO {

    @Schema(description = "储位id", requiredMode = Schema.RequiredMode.REQUIRED, example = "2452")
    private Long id;

    @Schema(description = "启用状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "启用状态不能为空")
    private Integer status;

    @Schema(description = "仓库id", requiredMode = Schema.RequiredMode.REQUIRED, example = "23993")
    @NotNull(message = "仓库id不能为空")
    private Long warehouseId;

    @Schema(description = "编码")
    private String code;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "数量不能为空")
    private Long number;

    @Schema(description = "备注", example = "你猜")
    private String description;

}